package com.pro.common.service.sitecontent.enums.init;

import com.pro.common.api.CommonConst;
import com.pro.common.api.enums.EnumSysRole;
import com.pro.common.service.sitecontent.enums.EnumAuthRouteType;
import com.pro.common.service.sitecontent.enums.init.IEnumToDbEnumAuthRoute;
import com.pro.framework.api.enums.EnumToDbEnum;
import com.pro.framework.api.enums.IEnumToDbEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

import static com.pro.common.service.sitecontent.enums.EnumAuthRouteType.*;
import static com.pro.common.api.enums.EnumSysRole.ADMIN;

@Getter
@AllArgsConstructor
public enum EnumAuthRouteSystem implements IEnumToDbEnumAuthRoute {
  ;
    // 可以继续添加其他模块...

    private final EnumSysRole sysRole;
    private final EnumAuthRouteSystem pcode;
    private final EnumAuthRouteType type;
    private final String routeName;
    private final String componentPath;
    private final String icon;
    private final String permissionPaths;
    private final String pic;
    private final String url;
    private final String remark;
    private final Boolean enabled;
    private final Integer sort;
    private final Boolean showFlag;

    private final String forceChangeTime;

    //    @Override
//    public String getToDbCode() {
//        return sysRole + CommonConst.Str.SPLIT + name();
//    }
}
